home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / tcl / tclmotif.1 / tclmotif / tm.1.2 / send / Imakefile < prev    next >
Encoding:
Makefile  |  1994-05-27  |  1.0 KB  |  55 lines

  1. /* this version of tclXtSend is based on tk3.2 */
  2.  
  3. CC = gcc
  4.  
  5. /* for debugging the library, set these
  6. CDEBUGFLAGS = -g -DDEBUG -DDONT_GRAB_SERVER
  7. */
  8. CDEBUGFLAGS =
  9.  
  10. TCL_INCLUDE= /usr/local/include
  11. MOTIF_INCLUDE= /usr/local/include
  12.  
  13. /* what type of libraries do you want? */
  14. #define DoNormalLib YES
  15. #define DoSharedLib NO
  16.  
  17. #include <Library.tmpl>
  18.  
  19. INCLUDES = -I$(TCL_INCLUDE) -I$(MOTIF_INCLUDE)
  20.  
  21. OBJS = tclXtSend.o
  22.  
  23. SRCS = tclXtSend.c
  24. #ifndef LibraryObjectRule
  25. #define LibraryObjectRule() /* not found in R4! */
  26. #endif
  27.  
  28. LibraryObjectRule()
  29.  
  30. #if DoNormalLib
  31. #if ProjectX < 6 || !DoSharedLib
  32. NormalLibraryTarget(tclXtSend,$(OBJS))
  33. #else
  34. UnsharedLibraryTarget(tclXtSend,$(OBJS),unshared,..)
  35. #endif
  36. InstallLibrary(tclXtSend,$(USRLIBDIR))
  37. #endif
  38.  
  39. #if DoSharedLib
  40. #if DoNormalLib && (ProjectX < 6)
  41. SharedLibraryTarget(tclXtSend,1.2,$(OBJS),shared,..)
  42. #else
  43. SharedLibraryTarget(tclXtSend,1.2,$(OBJS),.,.)
  44. #endif
  45. InstallSharedLibrary(tclXtSend,1.2, $(USRLIBDIR))
  46. #endif
  47.  
  48. DependTarget()
  49.  
  50. MANDIR = $(LIBMANDIR)
  51. MANSUFFIX = $(LIBMANSUFFIX)
  52.  
  53. InstallManPage(tclXtSend,$(MANDIR))
  54.  
  55.